/*
 * Copyright (C) 2011 Johan Kannala
 *
 * Licensed under the MIT License. You can find a copy of the License at in the
 * license.txt file.
 */
package com.joppe.vocabtutor;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;

public class LoggedActivity extends Activity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        Log.d("com.joppe.vocabtutor", getClass().getSimpleName() + " onCreate()");
    }
    
    public void onStart() {
        super.onStart();
        Log.d("com.joppe.vocabtutor", getClass().getSimpleName() + " onStart()");
    }
    
    public void onRestart() {
        super.onRestart();
        Log.d("com.joppe.vocabtutor", getClass().getSimpleName() + " onRestart()");
    }
    
    public void onResume() {
        super.onResume();
        Log.d("com.joppe.vocabtutor", getClass().getSimpleName() + " onResume()");
    }
    
    protected void onRestoreInstanceState(Bundle savedInstanceState) {
        super.onRestoreInstanceState(savedInstanceState);
        Log.d("com.joppe.vocabtutor", getClass().getSimpleName() + " onRestoreInstanceState()");
    }
    
    protected void onSaveInstanceState(Bundle savedInstanceState) {
        super.onSaveInstanceState(savedInstanceState);
        Log.d("com.joppe.vocabtutor", getClass().getSimpleName() + " onSaveInstanceState()");
    }
    
    @Override
    protected void onActivityResult(int requestCode, int resultCode, Intent data) {
        super.onActivityResult(requestCode, resultCode, data);
        Log.d("com.joppe.vocabtutor", getClass().getSimpleName() + " onActivityResult()");
    }
    
    public void onPause() {
        super.onPause();
        Log.d("com.joppe.vocabtutor", getClass().getSimpleName() + " onPause()");
    }
    
    public void onStop() {
        super.onStop();
        Log.d("com.joppe.vocabtutor", getClass().getSimpleName() + " onStop()");
    }
    
    public void onDestroy() {
        super.onDestroy();
        Log.d("com.joppe.vocabtutor", getClass().getSimpleName() + " onDestroy()");
    }
}
